package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 护理项目Mapper接口
 */
@Mapper
public interface NursingProjectMapper {

    Page<NursingProject> selectByPage(String name, Integer status);

    void addNursingProject(NursingProjectVo nursingProjectVo);

    Long getCountByName(String name);

    NursingProjectVo getNursingProjectById(Long id);

    void modifyNursingProject(NursingProjectVo nursingProjectVo);

    void modifyNursingProjectStatus(Long id, Integer status);

    void deleteNursingProject(Long id);

    List<NursingProjectVo> getAllNursingProjects();
}